package com.yonyou.gmcc.gateway.web.entity;

import javax.persistence.*;

@Table(name = "TM_ROLE_RESOURCE_RELATION")
public class TmRoleResourceRelation {
    @Id
    @Column(name = "ID")
    private Integer id;

    @Column(name = "RES_ID")
    private Integer resId;

    @Column(name = "ROLE_ID")
    private Short roleId;

    /**
     * @return ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return RES_ID
     */
    public Integer getResId() {
        return resId;
    }

    /**
     * @param resId
     */
    public void setResId(Integer resId) {
        this.resId = resId;
    }

    /**
     * @return ROLE_ID
     */
    public Short getRoleId() {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(Short roleId) {
        this.roleId = roleId;
    }
}